<template>
  <div class="bg">
    <!-- 顶部: -->
    <van-cell class="baner" title="收益">
      <!-- 使用 right-icon 插槽来自定义右侧图标 -->
      <template #right-icon>
        <van-icon size="20px" name="paid" class="search-icon" />
        <van-icon size="20px" name="smile-comment-o" class="search-icon" />
      </template>
    </van-cell>
    <!-- 内容 -->
    <div class="box">
      <ul class="">
        <li class="gp">
          本月预期收益（元）
          <van-icon class="icon" size="20px" name="eye-o" />
        </li>
        <li class="gr">
          0.00
          <van-icon class="icon" size="20px" name="arrow" />
        </li>
        <li class="gy">
          <van-icon class="icon" size="20px" name="fire-o" />
          已打败0%的用户
        </li>
      </ul>
      <div class="fud">昨日收益浮动 0.00 元</div>
    </div>
    <!-- 流程 -->
    <div class="liucheng">
      <van-steps>
        <van-step class="lcc">v_1</van-step>
        <van-step>v_2</van-step>
        <van-step>v_3</van-step>
        <van-step>v_4</van-step>
        <van-step>v_5</van-step>
      </van-steps>
    </div>
    <van-cell class="top" title="提升小技巧">
      <!-- 使用 right-icon 插槽来自定义右侧图标 -->
      <template #right-icon>
        <van-icon name="arrow" class="search-icon" />
      </template>
    </van-cell>
    <van-cell class="bot" title="累积收益">
      <!-- 使用 right-icon 插槽来自定义右侧图标 -->
      <template #right-icon>
        <van-icon name="arrow" class="search-icon" />
      </template>
    </van-cell>
  </div>
</template>

<script>
export default {}
</script>

<style lang="scss">
.van-cell__title {
  span {
    margin-left: 20px;
  }
}
body {
  background: #efefef;
}
.baner {
  background-image: url('./bj.png');
  background-size: 100% 100%;
  color: white !important;
  text-align: center;
}
.van-cell::after {
  border-bottom: none;
}
.search-icon {
  margin-left: 0.6rem;
}
.box {
  background-image: url('./xuxian1.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  //   padding: 20px 0;
  ul {
    text-align: center;
    li {
      line-height: 2.5rem;
    }
    .gp {
      font-size: 0.9rem;
      color: #b7cce6;
    }
    .gr {
      font-size: 2rem;
      color: #fff;
    }
    .gy {
      font-size: 0.5rem;
      color: #fff;
    }
  }
  .fud {
    background: rgba(7, 136, 226, 0.85);
    line-height: 3.1rem;
    text-align: center;
    color: #b7cce6;
    font-size: 0.8rem;
  }
}
.liucheng {
  background: #fff;
  margin-top: 20px;
}
.top {
  margin-top: 2px;
  padding: 20px 0px;
  background-image: url('./jiant2.png');
  background-repeat: no-repeat;
  background-position: left;
  background-size: 6%;
  font-size: 0.9rem;
  color: #000;
  margin-right: 0.5rem;
  text-indent: 0.8rem;
}
.bot {
  margin-top: 10px;
  padding: 30px 0px;
  background-image: url('./s_y.png');
  background-repeat: no-repeat;
  background-position: left;
  background-size: 7.5%;
  text-indent: 0.8rem;
  border-top: solid 10px #efefef;
}
.icon {
  vertical-align: middle;
}
</style>
